// Created by Roman Novitsky on 03.04.2009


#region Imported Namespaces





#endregion


namespace WtfManager.UIManager.Commands
{
  /// <summary>
  /// Defines the interface for a content item launcher extension.
  /// </summary>
  public interface IContentItemLauncherExtension
  {
    #region Methods


    /// <summary>
    /// Determines whether this <see cref="IContentItemLauncherExtension"/> can launch the specified content item.
    /// </summary>
    /// <param name="contentItem">An instance of a <see cref="System.Object"/>.</param>
    /// <returns>
    /// 	<c>true</c> if this <see cref="IContentItemLauncherExtension"/> can launch the specified content item; otherwise, <c>false</c>.
    /// </returns>
    bool CanLaunch(object contentItem);


    /// <summary>
    /// Launches the specified content item.
    /// </summary>
    /// <param name="contentItem">An instance of a <see cref="System.Object"/>.</param>
    void Launch(object contentItem);


    #endregion
  }
}